Optimal. Leaf size=285 \[ -\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{b \sqrt [4]{c} \log \left (\sqrt{c} \sqrt{d} x-\sqrt{2} \sqrt [4]{c} \sqrt{d x}+\sqrt{d}\right )}{\sqrt{2} d^{3/2}}-\frac{b \sqrt [4]{c} \log \left (\sqrt{c} \sqrt{d} x+\sqrt{2} \sqrt [4]{c} \sqrt{d x}+\sqrt{d}\right )}{\sqrt{2} d^{3/2}}-\frac{2 b \sqrt [4]{c} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}-\frac{\sqrt{2} b \sqrt [4]{c} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}+\frac{\sqrt{2} b \sqrt [4]{c} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}+1\right )}{d^{3/2}}+\frac{2 b \sqrt [4]{c} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.248436, antiderivative size = 285, normalized size of antiderivative = 1., number of steps used = 16, number of rules used = 13, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.722, Rules used = {6097, 16, 329, 300, 297, 1162, 617, 204, 1165, 628, 298, 205, 208} \[ -\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{b \sqrt [4]{c} \log \left (\sqrt{c} \sqrt{d} x-\sqrt{2} \sqrt [4]{c} \sqrt{d x}+\sqrt{d}\right )}{\sqrt{2} d^{3/2}}-\frac{b \sqrt [4]{c} \log \left (\sqrt{c} \sqrt{d} x+\sqrt{2} \sqrt [4]{c} \sqrt{d x}+\sqrt{d}\right )}{\sqrt{2} d^{3/2}}-\frac{2 b \sqrt [4]{c} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}-\frac{\sqrt{2} b \sqrt [4]{c} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}+\frac{\sqrt{2} b \sqrt [4]{c} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}+1\right )}{d^{3/2}}+\frac{2 b \sqrt [4]{c} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6097
Rule 16
Rule 329
Rule 300
Rule 297
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rule 298
Rule 205
Rule 208
Rubi steps
\begin{align*} \int \frac{a+b \tanh ^{-1}\left (c x^2\right )}{(d x)^{3/2}} \, dx &=-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{(4 b c) \int \frac{x}{\sqrt{d x} \left (1-c^2 x^4\right )} \, dx}{d}\\ &=-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{(4 b c) \int \frac{\sqrt{d x}}{1-c^2 x^4} \, dx}{d^2}\\ &=-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{(8 b c) \operatorname{Subst}\left (\int \frac{x^2}{1-\frac{c^2 x^8}{d^4}} \, dx,x,\sqrt{d x}\right )}{d^3}\\ &=-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{(4 b c) \operatorname{Subst}\left (\int \frac{x^2}{d^2-c x^4} \, dx,x,\sqrt{d x}\right )}{d}+\frac{(4 b c) \operatorname{Subst}\left (\int \frac{x^2}{d^2+c x^4} \, dx,x,\sqrt{d x}\right )}{d}\\ &=-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{\left (2 b \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{1}{d-\sqrt{c} x^2} \, dx,x,\sqrt{d x}\right )}{d}-\frac{\left (2 b \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{1}{d+\sqrt{c} x^2} \, dx,x,\sqrt{d x}\right )}{d}-\frac{\left (2 b \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{d-\sqrt{c} x^2}{d^2+c x^4} \, dx,x,\sqrt{d x}\right )}{d}+\frac{\left (2 b \sqrt{c}\right ) \operatorname{Subst}\left (\int \frac{d+\sqrt{c} x^2}{d^2+c x^4} \, dx,x,\sqrt{d x}\right )}{d}\\ &=-\frac{2 b \sqrt [4]{c} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{2 b \sqrt [4]{c} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}+\frac{\left (b \sqrt [4]{c}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{d}}{\sqrt [4]{c}}+2 x}{-\frac{d}{\sqrt{c}}-\frac{\sqrt{2} \sqrt{d} x}{\sqrt [4]{c}}-x^2} \, dx,x,\sqrt{d x}\right )}{\sqrt{2} d^{3/2}}+\frac{\left (b \sqrt [4]{c}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{d}}{\sqrt [4]{c}}-2 x}{-\frac{d}{\sqrt{c}}+\frac{\sqrt{2} \sqrt{d} x}{\sqrt [4]{c}}-x^2} \, dx,x,\sqrt{d x}\right )}{\sqrt{2} d^{3/2}}+\frac{b \operatorname{Subst}\left (\int \frac{1}{\frac{d}{\sqrt{c}}-\frac{\sqrt{2} \sqrt{d} x}{\sqrt [4]{c}}+x^2} \, dx,x,\sqrt{d x}\right )}{d}+\frac{b \operatorname{Subst}\left (\int \frac{1}{\frac{d}{\sqrt{c}}+\frac{\sqrt{2} \sqrt{d} x}{\sqrt [4]{c}}+x^2} \, dx,x,\sqrt{d x}\right )}{d}\\ &=-\frac{2 b \sqrt [4]{c} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{2 b \sqrt [4]{c} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}+\frac{b \sqrt [4]{c} \log \left (\sqrt{d}+\sqrt{c} \sqrt{d} x-\sqrt{2} \sqrt [4]{c} \sqrt{d x}\right )}{\sqrt{2} d^{3/2}}-\frac{b \sqrt [4]{c} \log \left (\sqrt{d}+\sqrt{c} \sqrt{d} x+\sqrt{2} \sqrt [4]{c} \sqrt{d x}\right )}{\sqrt{2} d^{3/2}}+\frac{\left (\sqrt{2} b \sqrt [4]{c}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}-\frac{\left (\sqrt{2} b \sqrt [4]{c}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}\\ &=-\frac{2 b \sqrt [4]{c} \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}-\frac{\sqrt{2} b \sqrt [4]{c} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}+\frac{\sqrt{2} b \sqrt [4]{c} \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}-\frac{2 \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d \sqrt{d x}}+\frac{2 b \sqrt [4]{c} \tanh ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{d x}}{\sqrt{d}}\right )}{d^{3/2}}+\frac{b \sqrt [4]{c} \log \left (\sqrt{d}+\sqrt{c} \sqrt{d} x-\sqrt{2} \sqrt [4]{c} \sqrt{d x}\right )}{\sqrt{2} d^{3/2}}-\frac{b \sqrt [4]{c} \log \left (\sqrt{d}+\sqrt{c} \sqrt{d} x+\sqrt{2} \sqrt [4]{c} \sqrt{d x}\right )}{\sqrt{2} d^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.102945, size = 268, normalized size = 0.94 \[ -\frac{x \left (4 a+4 b \tanh ^{-1}\left (c x^2\right )+2 b \sqrt [4]{c} \sqrt{x} \log \left (1-\sqrt [4]{c} \sqrt{x}\right )-2 b \sqrt [4]{c} \sqrt{x} \log \left (\sqrt [4]{c} \sqrt{x}+1\right )-\sqrt{2} b \sqrt [4]{c} \sqrt{x} \log \left (\sqrt{c} x-\sqrt{2} \sqrt [4]{c} \sqrt{x}+1\right )+\sqrt{2} b \sqrt [4]{c} \sqrt{x} \log \left (\sqrt{c} x+\sqrt{2} \sqrt [4]{c} \sqrt{x}+1\right )+2 \sqrt{2} b \sqrt [4]{c} \sqrt{x} \tan ^{-1}\left (1-\sqrt{2} \sqrt [4]{c} \sqrt{x}\right )-2 \sqrt{2} b \sqrt [4]{c} \sqrt{x} \tan ^{-1}\left (\sqrt{2} \sqrt [4]{c} \sqrt{x}+1\right )+4 b \sqrt [4]{c} \sqrt{x} \tan ^{-1}\left (\sqrt [4]{c} \sqrt{x}\right )\right )}{2 (d x)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 272, normalized size = 1. \begin{align*} -2\,{\frac{a}{d\sqrt{dx}}}-2\,{\frac{b{\it Artanh} \left ( c{x}^{2} \right ) }{d\sqrt{dx}}}+{\frac{b\sqrt{2}}{2\,d}\ln \left ({ \left ( dx-\sqrt [4]{{\frac{{d}^{2}}{c}}}\sqrt{dx}\sqrt{2}+\sqrt{{\frac{{d}^{2}}{c}}} \right ) \left ( dx+\sqrt [4]{{\frac{{d}^{2}}{c}}}\sqrt{dx}\sqrt{2}+\sqrt{{\frac{{d}^{2}}{c}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}+{\frac{b\sqrt{2}}{d}\arctan \left ({\sqrt{2}\sqrt{dx}{\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}+1 \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}+{\frac{b\sqrt{2}}{d}\arctan \left ({\sqrt{2}\sqrt{dx}{\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}-1 \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}-2\,{\frac{b}{d}\arctan \left ({\sqrt{dx}{\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}} \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}}+{\frac{b}{d}\ln \left ({ \left ( \sqrt{dx}+\sqrt [4]{{\frac{{d}^{2}}{c}}} \right ) \left ( \sqrt{dx}-\sqrt [4]{{\frac{{d}^{2}}{c}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{{d}^{2}}{c}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.2664, size = 81, normalized size = 0.28 \begin{align*} -\frac{\sqrt{d x}{\left (b \log \left (-\frac{c x^{2} + 1}{c x^{2} - 1}\right ) + 2 \, a\right )}}{d^{2} x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.90645, size = 682, normalized size = 2.39 \begin{align*} \frac{1}{2} \, b c d^{2}{\left (\frac{2 \, \sqrt{2} \left (c^{3} d^{2}\right )^{\frac{3}{4}} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}} + 2 \, \sqrt{d x}\right )}}{2 \, \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}}}\right )}{c^{3} d^{5}} + \frac{2 \, \sqrt{2} \left (c^{3} d^{2}\right )^{\frac{3}{4}} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}} - 2 \, \sqrt{d x}\right )}}{2 \, \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}}}\right )}{c^{3} d^{5}} + \frac{2 \, \sqrt{2} \left (-c^{3} d^{2}\right )^{\frac{3}{4}} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}} + 2 \, \sqrt{d x}\right )}}{2 \, \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}}}\right )}{c^{3} d^{5}} + \frac{2 \, \sqrt{2} \left (-c^{3} d^{2}\right )^{\frac{3}{4}} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}} - 2 \, \sqrt{d x}\right )}}{2 \, \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}}}\right )}{c^{3} d^{5}} - \frac{\sqrt{2} \left (c^{3} d^{2}\right )^{\frac{3}{4}} \log \left (d x + \sqrt{2} \sqrt{d x} \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}} + \sqrt{\frac{d^{2}}{c}}\right )}{c^{3} d^{5}} + \frac{\sqrt{2} \left (c^{3} d^{2}\right )^{\frac{3}{4}} \log \left (d x - \sqrt{2} \sqrt{d x} \left (\frac{d^{2}}{c}\right )^{\frac{1}{4}} + \sqrt{\frac{d^{2}}{c}}\right )}{c^{3} d^{5}} - \frac{\sqrt{2} \left (-c^{3} d^{2}\right )^{\frac{3}{4}} \log \left (d x + \sqrt{2} \sqrt{d x} \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}} + \sqrt{-\frac{d^{2}}{c}}\right )}{c^{3} d^{5}} + \frac{\sqrt{2} \left (-c^{3} d^{2}\right )^{\frac{3}{4}} \log \left (d x - \sqrt{2} \sqrt{d x} \left (-\frac{d^{2}}{c}\right )^{\frac{1}{4}} + \sqrt{-\frac{d^{2}}{c}}\right )}{c^{3} d^{5}}\right )} - \frac{\frac{b \log \left (-\frac{c d^{2} x^{2} + d^{2}}{c d^{2} x^{2} - d^{2}}\right )}{\sqrt{d x}} + \frac{2 \, a}{\sqrt{d x}}}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]